# f=open(r'c:\text\qiye.txt')
# f.read()
# f.close()
#
# try:
#     f=open(r'c:\text\qiye.txt','r')
#     print(f.read)
# finally:
#     if f:
#         f.close()
#
#
# with open(r'c:\text\qiye.txt','r') as fileReader:
#     print(fileReader.read())
#
#
# with open(r'c:\text\qiye.txt','r') as fileReader:
#     for line in fileReader.readlines():
#         print(line.strip())
#
# f=open(r'c:\text\qiye.txt','w')
# f.write('qiye')
# f.close()
#
# #处理io读写异常
# with open(r'c:\text\qiye.txt','w') as fileWriter:
#     fileWriter.write('qiye')

